/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const systemRouter = {
  path: '/system',
  component: Layout,
  redirect: '/system/system_permission',
  name: 'System',
  meta: {
    title: 'SystemSetting',
    icon: 'system'
  },
  children: [
    {
      path: 'system_permission',
      component: () => import('@/views/system/permission/permission.vue'),
      name: 'SystemPermission',
      meta: { title: 'SystemPermission' }
    },
    {
      path: 'access_log',
      component: () => import('@/views/system/access-log/access-log.vue'),
      name: 'AccessLog',
      meta: { title: 'SystemLog' }
    },
    {
      path: 'users_manage',
      component: () => import('@/views/system/users/users.vue'),
      name: 'users_manage',
      meta: { title: 'SystemUser' }
    }
  ]
}
export default systemRouter
